﻿@model Coslen.TahorCRM.Domain.Model.Entities.Address

<div class="editor-row">
        <div class="editor-label">
            @Html.LabelFor(model => model.Street1)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Street1)
            @Html.ValidationMessageFor(model => model.Street1)
        </div>
    </div>
    <div class="editor-row">
        <div class="editor-label">
            @Html.LabelFor(model => model.Street2)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Street2)
            @Html.ValidationMessageFor(model => model.Street2)
        </div>
    </div>
    <div class="editor-row">
        <div class="editor-label">
            @Html.LabelFor(model => model.Street3)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Street3)
            @Html.ValidationMessageFor(model => model.Street3)
        </div>
    </div>
    <div class="editor-row">
        <div class="editor-label">
            @Html.LabelFor(model => model.PostCode)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.PostCode)
            @Html.ValidationMessageFor(model => model.PostCode)
        </div>
    </div>
    <div class="editor-row">
        <div class="editor-label">
            @Html.LabelFor(model => model.Fulladdress)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Fulladdress)
            @Html.ValidationMessageFor(model => model.Fulladdress)
        </div>
    </div>
    <div class="editor-row">
        <div class="editor-label">
            @Html.LabelFor(model => model.AddressTypeId)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.AddressTypeId)
            @Html.ValidationMessageFor(model => model.AddressTypeId)
        </div>
    </div>
    <div class="editor-row">
        <div class="editor-label">
            @Html.LabelFor(model => model.EntityLinkId)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.EntityLinkId)
            @Html.ValidationMessageFor(model => model.EntityLinkId)
        </div>
    </div>
    <div class="editor-row">
        <div class="editor-label">
            @Html.LabelFor(model => model.CreatedAt)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.CreatedAt)
            @Html.ValidationMessageFor(model => model.CreatedAt)
        </div>
    </div>
    <div class="editor-row">
        <div class="editor-label">
            @Html.LabelFor(model => model.UpdatedAt)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.UpdatedAt)
            @Html.ValidationMessageFor(model => model.UpdatedAt)
        </div>
    </div>
    <div class="editor-row">
        <div class="editor-label">
            @Html.LabelFor(model => model.DeletedAt)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.DeletedAt)
            @Html.ValidationMessageFor(model => model.DeletedAt)
        </div>
    </div>
    <div class="editor-row">
        <div class="editor-label">
            @Html.LabelFor(model => model.DoNotUse)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.DoNotUse)
            @Html.ValidationMessageFor(model => model.DoNotUse)
        </div>
    </div>
    <div class="editor-row">
        <div class="editor-label">
            @Html.LabelFor(model => model.Suburb)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Suburb)
            @Html.ValidationMessageFor(model => model.Suburb)
        </div>
    </div>
    <div class="editor-row">
        <div class="editor-label">
            @Html.LabelFor(model => model.CountryRegionId)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.CountryRegionId)
            @Html.ValidationMessageFor(model => model.CountryRegionId)
        </div>
    </div>
    <div class="editor-row">
        <div class="editor-label">
            @Html.LabelFor(model => model.CountryId)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.CountryId)
            @Html.ValidationMessageFor(model => model.CountryId)
        </div>
    </div>
	@Html.HiddenFor(model => model.AddressId)